package com.hnucm.c202001020214.object;

import java.util.List;

public class Goods {


    public ItemsDTO items;
    public String error_code;
    public String reason;
    public String secache;
    public int secache_time;
    public String secache_date;
    public String translate_status;
    public int translate_time;
    public LanguageDTO language;
    public String error;
    public int cache;
    public String api_info;
    public String execution_time;
    public String server_time;
    public String client_ip;
    public CallArgsDTO call_args;
    public String api_type;
    public String translate_language;
    public String translate_engine;
    public String server_memory;
    public String request_id;
    public String last_id;

    public ItemsDTO getItems() {
        return items;
    }

    public void setItems(ItemsDTO items) {
        this.items = items;
    }

    public static class ItemsDTO {
        public String keyword;
        public int page;
        public int real_total_results;
        public int total_results;
        public int pagecount;
        public int page_size;
        public String data_from;
        public List<ItemDTO> item;

        public String getKeyword() {
            return keyword;
        }

        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }

        public List<ItemDTO> getItem() {
            return item;
        }

        public void setItem(List<ItemDTO> item) {
            this.item = item;
        }

        public static class ItemDTO {
            public String num_iid;
            public String detail_url;
            public String title;
            public String pic_url;
            public String price;
            public String promotion_price;
            public int sales;
            public String seller_id;
            public String seller;

            public String getNum_iid() {
                return num_iid;
            }

            public void setNum_iid(String num_iid) {
                this.num_iid = num_iid;
            }

            public String getDetail_url() {
                return detail_url;
            }

            public void setDetail_url(String detail_url) {
                this.detail_url = detail_url;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPic_url() {
                return pic_url;
            }

            public void setPic_url(String pic_url) {
                this.pic_url = pic_url;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getPromotion_price() {
                return promotion_price;
            }

            public void setPromotion_price(String promotion_price) {
                this.promotion_price = promotion_price;
            }

            public int getSales() {
                return sales;
            }

            public void setSales(int sales) {
                this.sales = sales;
            }

            public String getSeller_id() {
                return seller_id;
            }

            public void setSeller_id(String seller_id) {
                this.seller_id = seller_id;
            }

            public String getSeller() {
                return seller;
            }

            public void setSeller(String seller) {
                this.seller = seller;
            }
        }
    }

    public static class LanguageDTO {
        public String default_lang;
        public String current_lang;
    }

    public static class CallArgsDTO {
        public String q;
    }
}
